* {
	margin: 0;
	padding: 0;
}

.chat-content {
	margin: 20px;
	width: 800px;
	height: 600px;
	border: 1px solid #ddd;
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.head {
	height: 30px;
	padding: 10px;
	box-sizing: border-box;
	background: #d6d6d6;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.head button {
	cursor: pointer;
}

.foot {
	background: #d6d6d6;
	display: flex;
	/* justify-content: space-between; */
	padding: 5px;
	box-sizing: border-box;
	position: relative;
}

.foot input {
	display: inline-block;
	width: calc(100% - 105px);
	height: 28px;
	border: 1px solid #ddd;
	border-radius: 4px;
	outline: none;
	padding-left: 4px;
	box-sizing: border-box;
	margin-left: 6px;
}

.foot .file {
	position: absolute;
	top: 6px;
	left: 0;
	width: 35px;
	overflow: hidden;
	background: red;
	opacity: 0;
}

.foot button {
	margin-left: 6px;
	background: transparent;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
}

.body {
	background: #f5f5f5;
	height: calc(100% - 68px);
	overflow: auto;
}

.item {
	display: flex;
	padding: 8px 6px;
}

.item .avatr {
	width: 34px;
	height: 34px;
	border-radius: 50%;
}

.mess {
	margin: 0 6px;
}

.mess .time {
	font-size: 14px;
	text-align: right;
}

.mess .text {
	font-size: 14px;
}

.rightStyle {
	flex-direction: row-reverse;
}

.rightStyle .text {
	text-align: right;
}

.yimg{
	width: 200px;
}
.valueImg{
	max-width: 489px;
	    max-height: 266px;
	    border-radius: 8px;
	    margin-top: 3px;
}
